package com.zhangjianling.studentmis.controller;

import javax.annotation.Resource;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

import com.zhangjianling.studentmis.entity.Classes;
import com.zhangjianling.studentmis.entity.ResultMsg;
import com.zhangjianling.studentmis.service.ClassesService;

/**
 * 班级控制器
 * @author zhangjl
 *
 */
@RequestMapping("classes")
@Controller
public class ClassesController extends BaseController{
	
	@Resource
	private ClassesService classesService;
	/**
	 * 列表页面
	 * @return
	 */
	@RequestMapping("listUI")
	public String listUI(){
		return "classes/listUI";
	}
	/**
	 * 新增页面
	 * @return
	 */
	@RequestMapping("saveUI")
	public String saveUI(){
		return "classes/saveUI";
	}
	
	/**
	 * 保存
	 * @return
	 */
	@RequestMapping("save")
	public ResultMsg save(Classes classes){
		return null;
	}
	
	/**
	 * 删除
	 * @return
	 */
	@RequestMapping("delete")
	public ResultMsg delete(String classesId){
		return null;
		
	}
	
	/**
	 * 根据主键获得对象
	 * @param id
	 * @return
	 */
	@RequestMapping("getById")
	public ResultMsg getById(String classesId){
		return null;
	}
	
	/**
	 * 查询所有
	 * @return
	 */
	@RequestMapping("getAll")
	public ResultMsg getAll(){
		return null;
	}
	
	/**
	 * 分页列表
	 * @return
	 */
	@RequestMapping("getPageList")
	public ResultMsg getPageList(){
		return null;
	}
}
